import redis.clients.jedis.Jedis;

public class Chapter03 {

    public static void main(String[] args) {
        new Chapter03().run();
    }

    private void run() {
        Jedis conn = new Jedis("192.168.179.21", 6379);
        conn.select(15);

        String key = conn.get("key");
        System.out.printf("尝试获取一个不存在的键将得到一个None值,终端不会显示这个值:%d",key);
    }
}
